package com.lianxian.xindong.me.di.component;

import dagger.BindsInstance;
import dagger.Component;

import com.hxb.library.di.component.AppComponent;

import com.lianxian.xindong.me.di.module.UserCirclesModule;
import com.lianxian.xindong.me.mvp.contract.UserCirclesContract;

import com.hxb.library.di.scope.FragmentScope;
import com.lianxian.xindong.me.mvp.ui.fragment.UserCirclesFragment;


/**
 * @作者：hexingbo
 * @时间：07/08/2023
 * @描述：
 */
@FragmentScope
@Component(modules = UserCirclesModule.class, dependencies = AppComponent.class)
public interface UserCirclesComponent {
    void inject(UserCirclesFragment fragment);

    @Component.Builder
    interface Builder {
        @BindsInstance
        UserCirclesComponent.Builder view(UserCirclesContract.View view);

        UserCirclesComponent.Builder appComponent(AppComponent appComponent);

        UserCirclesComponent build();
    }
}